package com.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author LeXin Huang
 * @date 2021年04月21日 22:56
 */
@Data
@TableName("pet_photo")
public class PetPhoto implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "pet_photo_url")
    private String photoUrl;

    @TableField(value = "pet_id")
    private Integer petId;
}
